package com.lex.data.admin.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.sql.Timestamp;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 平台角色表
 * </p>
 *
 * @author lex QQ:609381308
 * @since 2024-07-31
 */
@Getter
@Setter
@TableName("lex_cms_role")
@Schema(name = "LexCmsRole", description = "平台角色表")
public class LexCmsRole implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "自增id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "角色名称")
    private String roleName;

    @Schema(description = "角色备注")
    private String remark;

    @Schema(description = "创建时间")
    private Timestamp createTime;

    @Schema(description = "更新时间")
    private Timestamp updateTime;

    @Schema(description = "状态, 1-正常 0-停用")
    private Integer status;
}
